home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / wed411.zip / TIPS.DOC < prev    next >
Text File  |  1989-08-22  |  3KB  |  71 lines

  1. The following are some helpful tips that may help you to get
  2. more out of the WED Text Editor.
  3.  
  4.  
  5. 1.  Keyboard Macros.
  6.  
  7.     Make use of the keyboard macros.  WED is distributed with
  8. macros defined for the unshifted function keys:
  9.  
  10.     F1  Move to top of file.
  11.     F2  Move to bottom of file.
  12.     F3  Erase to end of line.
  13.     F4  Erase the entire line.
  14.     F5  Set pointer 1.
  15.     F6  Set pointer 2.
  16.     F7  Copy from pointer 1 to pointer 2.
  17.     F8  Move from pointer 1 to pointer 2.
  18.     F9  (not defined)
  19.     F10 Save file and exit to DOS.
  20.  
  21.     You can redefine any of these keys or you can define new
  22. macros for the shifted function keys.  WED allows you to set up
  23. forty macros (unshifted function keys, shift-function,
  24. ctrl-function, and alt-function).
  25.  
  26.     If you are used to a Wordstar style editor, you may want to
  27. switch the F5 and F6 macros with the F7 and F8 macros.  (Notice
  28. that F5 and F6 are equivelent to Begin Block and End Block, and
  29. F7 and F8 are equivalent to Copy Block and Move Block.
  30.  
  31.     I use keyboard macros to enter my most commonly used
  32. compiler flags.  For example, I have defined the F9 key to
  33. compile the current file with Microsoft C for use with Codeview:
  34.  
  35.             <Alt-X>C<Ins>/Zi /Od <Enter>
  36.  
  37.     Now, with a single keystroke, I can invoke the eXecute
  38. command, select the C compiler, and compile the current file
  39. with Codeview options.
  40.  
  41. 2.  Use Undelete for quick block moves and block copies.
  42.  
  43.     The undelete buffer can be used for quick block moves and
  44. block copies (remember, the undelete buffer is 4K so you will
  45. have to use Move or Copy for blocks larger than 4K).  To move a
  46. block with the undelete buffer, first use Erase or Zap to delete
  47. the block, then move to the new location and Undelete.  Remember
  48. you can undelete the same block more than once.
  49.  
  50.     The undelete buffer is very handy for retrieving a block of
  51. text from another file.  Load the other file, delete the block,
  52. Abort the other file, and undelete the block at the desired
  53. location.
  54.  
  55. 3.  Use the eXecute command if you are using a compiler or
  56. assembler.
  57.  
  58.     To use eXecute, you must first install your compilers and/or
  59. assemblers.  Use the "user programs" option on the Setup menu. 
  60. You must specify a prompt string (the string that will appear in
  61. WED's pulldown menu), the name of the compiler or assembler, and
  62. the mininum amount of memory that it will require.  If you like,
  63. you can specify a batch file that performs several operations.
  64.  
  65.     Use macros to automate entry of standard compiler options
  66. (see above discussion of macros).
  67.  
  68.     Registered users receive a version of WED which can swap
  69. itself out to EMS memory or disk to make room for large compilers.
  70. This version can free up all but 5K of the memory used by WED.
  71.